class ChangingReportsToReportTemplatesEverywere < ActiveRecord::Migration
  def self.up
    rename_column :note_types_reports, :report_id, :report_template_id
    rename_table :reports, :report_templates
    rename_table :note_types_reports, :note_types_report_templates  
  end

  def self.down
    rename_table  :note_types_report_templates, :note_types_reports
    rename_table :report_templates, :reports 
    rename_column :note_types_reports, :report_template_id, :report_id
  end
end
